package com.fire.web.modules.all.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.fire.web.modules.all.entity.BuildingZoneModel;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * BuildingZoneDao
 *
 * @author Matthew
 * @Date 2019-02-23 16:37
 */
@Mapper
public interface BuildingZoneMapper extends BaseMapper<BuildingZoneModel>{

	/**
	 * 根据实体查询列表
	 * @param model
	 * @return
	 */
	List<BuildingZoneModel> selectListByModel(@Param("e")BuildingZoneModel model);

	/**
	 * 通过Map更新
	 * @param model
	 */
	void updateMapAllColumnById(@Param("e") Map<String,Object> model);

}
